RankMath\Redirections\Redirection A

Total Complexity 65
Dependencies 5
Dependents 9
Total lines 477
Lines of code 221
Logical lines of code 116
Comment lines 190
Methods 23
Properties 5

Methods 23

Method Rating Maintainability Complexity Lines of code
sanitize_source_url()
A
49 9 29
pre_redirection_cache()
S
50 5 32
sanitize_source()
S
61 5 12
is_infinite_loop()
S
60 4 13
create()
S
56 3 18
add_source()
S
59 3 15
add_sources()
S
68 4 6
save_redirection_cache()
S
65 4 9
from()
S
61 3 13
add_destination()
S
67 3 7
save()
S
65 3 10
__construct()
S
68 3 7
sanitize_source_regex()
S
63 2 9
strip_subdirectory()
S
73 2 4
get_home_domain()
S
69 2 7
has_sources()
S
78 2 3
__get()
S
71 2 6
set_id()
S
80 1 3
get_id()
S
80 1 3
set_status()
S
80 1 3
is_new()
S
82 1 3
set_nocache()
S
81 1 3
get_full_uri()
S
69 1 6